/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package course;

import java.util.Date;

/**
 */

// Occation klass som hanterar tabellen Occation i mySQL
public class Occation {

    private String applicationCode;
    private String semester;
    private String teacher;
    private Date startDate;

    public Occation() {
    }

    public Occation(String applicationCode, String semester, String teacher, Date startDate) {

        setApplicationCode(applicationCode);
        setSemester(semester);
        setTeacher(teacher);
        setStartDate(startDate);

    }

    public void setApplicationCode(String applicationCode) {
        this.applicationCode = applicationCode;
    }

    public String getApplicationCode() {
        return applicationCode;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    public String getSemester() {
        return semester;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getStartDate() {
        return startDate;
    }
}

